define((['swiper']),(Swiper)=>{
    function indexSwiperLoad(){
        // var swiper = new Swiper(".mySwiper", {
        //     // autoplay:true,
        //     navigation: {
        //         nextEl: '.swiper-button-next',
        //         prevEl: '.swiper-button-prev',
        //       },
        var swiper = new Swiper('.swiper-container', {
            pagination: '.swiper-pagination',
            nextButton: '.swiper-button-next',
            prevButton: '.swiper-button-prev',
            slidesPerView: 1,
            paginationClickable: true,
            spaceBetween: 30,
            loop: true
        });
          
    }
    return {
        indexSwiperLoad:indexSwiperLoad
    }
})
     